﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cspl.AnimalFight.Lib.Data
{
    public abstract class AnimalBase
    {
        #region Protected Fields
            protected int _healthPower;
            protected int _defensepower;
            protected int _attackPower;
            protected string _animalName;
            protected bool _hasEscaped;
            protected bool _isDead;
        #endregion

       #region Properites
            public string AnimalName
            {
                get { return _animalName; }
                set { _animalName = value; }
            }
            
            public bool HasEscaped
            {
                get { return _hasEscaped; }
                set { _hasEscaped = value; }
            }

            public bool IsDead
            {
                get { return _isDead; }
                set { _isDead = value; }
            }
            
            
            
            public int HealthPower { get { return _healthPower; } set { _healthPower = value; } }
            public int DefensePower { get{ return _defensepower; } set { _defensepower = value; }  }
            public int AttackPower { get{ return _attackPower; } set { _attackPower = value; } }
        #endregion

            public virtual void Escape() {
                Console.WriteLine("The Animal Escaped.")
            }

    }
}
